package cn.lili.modules.operationcenter.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.operationcenter.client.OperationCenterClient;
import cn.lili.modules.operationcenter.entity.dos.OperationCenter;
import cn.lili.modules.operationcenter.entity.dos.OperationCenterWithdrawal;
import cn.lili.modules.operationcenter.entity.vos.OperationCenterSearchPageParams;
import cn.lili.modules.operationcenter.entity.vos.OperationCenterVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.ArrayList;
import java.util.List;

public class OperationCenterFallback implements OperationCenterClient {

    @Override
    public OperationCenter getOperationCenter(String userId) {
        throw new ServiceException();
    }

    @Override
    public void addOperationCenter(OperationCenter operationCenter) {
        throw new ServiceException();
    }

    @Override
    public Page<OperationCenterVo> page(OperationCenterSearchPageParams operationCenterSearchPageParams) {
        throw new ServiceException();
    }

    @Override
    public OperationCenter getByAddressId(String provinceId) {
        throw new ServiceException();
    }

    @Override
    public OperationCenter getById(String id) {
        throw new ServiceException();
    }

    @Override
    public List<OperationCenter> select() {
        throw new ServiceException();
    }

    @Override
    public List<OperationCenter> getOperationCenterListByProviceIds(List<String> provinceIdList) {
        return new ArrayList<>();
    }

    @Override
    public List<OperationCenter> getList() {
        throw new ServiceException();
    }

    @Override
    public void insertWithdrawal(OperationCenterWithdrawal operationCenterWithdrawal) {
        throw new ServiceException();
    }
}
